package com.taxshare.operation.mapper;

import com.taxshare.operation.entity.MessageUsersStateEntity;
import com.taxshare.operation.view.dto.CodeInfoDTO;
import com.taxshare.operation.view.dto.MassageUsersStateDTO;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taxshare.operation.entity.MessageInfoEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface MessageInfoMapper  extends BaseMapper<MessageInfoEntity> {

    void insertMessageUsersState(@Param("uuid") String uuid, @Param("userId")String userId, @Param("updateTime")String updateTime);

    List<MessageUsersStateEntity> queryReadMessageWarning(@Param("list")List<String> list  ,@Param("currentPage")Integer currentPage, @Param("pageSize")Integer pageSize);

    List<String> queryMessageReadState(String userId);

    String querycountNoRed(@Param("list")List<String> list,@Param("userId")String userId);

    String queryPageTotal(@Param("list")List<String> list  ,@Param("currentPage")Integer currentPage, @Param("pageSize")Integer pageSize);

}
